<template>
    <h2>Home组件</h2>
</template>

<script setup name="Home" lang="ts">
import { onMounted, onBeforeUnmount } from 'vue'
onMounted(() => {
    console.log('Home组件挂载了')
})
onBeforeUnmount(() => {
    console.log('Home组件卸载了')
})
</script>
